<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<div  align="center">
<h:panelGrid columns="1" >
<f:loadBundle basename="recursos.componentes" var="bundle" />
<h:form id="formularioIngreso" styleClass="formularioIngreso">
    <blockquote>
        <h:messages/>
    </blockquote>
    <fieldset>
        <legend>Inicio</legend>
    <br>
    <t:panelGrid id="grid2" columns="2" columnClasses="">
        <h:outputLabel id="labelIngreseUsuario" value="#{bundle.ingreseNombre}" styleClass="label"/>
        <h:inputText id="inputNombre" size="12" value="#{userBean.id}" styleClass="inputComponente"/>
        <h:outputLabel id="labelIngreseContrasena" value="#{bundle.ingreseContrasena}" styleClass="label"/>
        <h:inputSecret id="inputContrasena" size="12" value="#{userBean.password}" immediate="true"styleClass="inputComponente"/>
        <t:panelGroup id="group" colspan="2">
            <div align="center">
                <h:commandButton id="botonIngresar" value="#{bundle.ingresar}" action="#{userBean.login}" styleClass="boton"/>
            </div>
        </t:panelGroup>
    </t:panelGrid>
    </fieldset>
    <br>
    <div align="center">
            <h:commandLink id="recordarContrasena" action="irADefault" >
                <h:outputText value="#{bundle.olvidoContrasena}" style="color:#9bb50b;font-size:9pt"/>
            </h:commandLink>
    </div>
</h:form>
</h:panelGrid>
</div>